﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.Dynamic;

namespace IronTrishul.Web
{
    class DynamicLink : DynamicObject
    {
       NetTcpStyleUriParser uriPrser;
       Uri url;
       WebClient client;
       public DynamicLink()
       {
           uriPrser = new NetTcpStyleUriParser();
           //home page ??
           this.url = new Uri("http://www.google.co.in");
       }
       public DynamicLink(Uri url)
       {
           this.url = url;
       }
       public void Initialize()
       {
           client = new WebClient();
           client.BaseAddress = url.AbsolutePath;
       }
    }
}
